<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../static/system/userCenter/userinfo.css" media="all">
    <script src="../../static/alllayui/layui/layui.js" charset="utf-8"></script>
    <script src="../../static/system/js/jquery.min.js" charset="utf-8"></script>
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>

<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>用户中心</legend>
</fieldset>

<div class="layui-container">  
 
  <div class="layui-row">
    <div class="layui-col-md8">
       <form class="layui-form" action="">
                <input type="hidden" name="id" id="userId" th:value='${systemUser.id}'  >
                 <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">名称</label>
                    <div class="layui-input-inline">
                                <input type="text" readonly="readonly"   name='userName'  th:value='${systemUser.username}' lay-verify="required" lay-reqtext="名称为必填项" placeholder="请输入名称" autocomplete="off" class="layui-input">
                    </div>
                </div>
                     <div class="layui-inline">
                         <label class="layui-form-label">昵称</label>
                         <div class="layui-input-inline">
                             <input type="text" readonly="readonly"   name='nick'  th:value='${systemUser.nick}' lay-verify="required" lay-reqtext="昵称" placeholder="请输入昵称" autocomplete="off" class="layui-input">
                         </div>
                     </div>
                </div>
                 <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">状态</label>
                        <div class="layui-input-inline">
                               <select name='state' readonly="readonly" lay-verify="required">
                                   <option value="">请选择</option>
                                       <option value="0"  th:selected='${ systemUser.state == 0 }'   >禁用</option>
                                       <option value="1"  th:selected='${ systemUser.state == 1 }'   >正常</option>
                               </select>
                        </div>
                    </div>
                     <div class="layui-inline">
                         <label class="layui-form-label">创建时间</label>
                         <div class="layui-input-inline">
                             <input type="text" name='createdate' readonly="readonly"  th:value="${#dates.format(systemUser.createdate,'yyyy-MM-dd')}" lay-verify="required" lay-reqtext="添加时间为必填项" placeholder="请输入添加时间" autocomplete="off" class="layui-input datePicker">
                         </div>
                     </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">类型</label>
                        <div class="layui-input-inline">
                            <select name='type' readonly="readonly" lay-verify="required">
                                <option value="">请选择</option>
                                <option value="0"  th:selected='${ systemUser.type == 0 }'   >管理员</option>
                                <option value="1"  th:selected='${ systemUser.type == 1 }'   >超级管理员</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">更新时间</label>
                        <div class="layui-input-inline">
                            <input type="text" name='updatedate' readonly="readonly"  th:value="${#dates.format(systemUser.updatedate,'yyyy-MM-dd')}" lay-verify="required" autocomplete="off" class="layui-input datePicker">
                        </div>
                    </div>

                </div>
		</form>
       
    </div>
      <script>

          layui.use(['jquery','form','laydate','upload'], function(){

          });

      </script>
  </div>
  </div>


</body>